{"version":3,"sources":["imageeditor.bundle.js"],"names":["this","BX","exports","main_popup","main_loader","main_core","defaultOptions","controlsOptions","library","preferredRenderer","export","type","download","megapixels","defaultControl","forceCrop","assets","baseUrl","license","owner","version","enterprise_license","available_actions","features","platform","app_identifiers","api_token","domains","issued_at","expires_at","signature","locale","pesdk","common","title","error","Loc","getMessage","text","loading","updating","button","cancel","editor","save","load","close","newImageChangesLostWarningYes","newImageChangesLostWarningNo","discardChangesWarningKeep","discardChangesWarningDiscard","newImageChangesLostWarning","imageResizedWarning_maxMegaPixels","imageResizedWarning_maxDimensions","fontLoadingError","discardChangesWarning","renderingError","exporting","saving","resizing","loadingFonts","webcamUnavailableError","invalidFileTypeError","imageLoadingError","name","fileDropZone","fileDropZoneHovered","placeholder","search","noResults","transform","dimensions","lock","reset","asset","imgly_transforms_common","imgly_transform_common_custom","imgly_transform_common_square","imgly_transform_common_4-3","imgly_transform_common_16-9","imgly_transforms_facebook","imgly_transform_facebook_ad","imgly_transform_facebook_post","imgly_transform_facebook_cover","imgly_transform_facebook_profile","width","height","filter","identity","imgly_lut_celsius","imgly_lut_chest","imgly_lut_fixie","imgly_lut_fridge","imgly_lut_front","imgly_lut_k2","imgly_lut_mellow","imgly_lut_sin","imgly_lut_texas","imgly_lut_ad1920","imgly_lut_ancient","imgly_lut_bleached","imgly_lut_bleachedblue","imgly_lut_blues","imgly_lut_blueshadows","imgly_lut_breeze","imgly_lut_bw","imgly_lut_classic","imgly_lut_colorful","imgly_lut_cool","imgly_lut_cottoncandy","imgly_lut_creamy","imgly_lut_eighties","imgly_lut_elder","imgly_lut_evening","imgly_lut_fall","imgly_lut_food","imgly_lut_glam","imgly_lut_gobblin","imgly_lut_highcarb","imgly_lut_highcontrast","imgly_lut_k1","imgly_lut_k6","imgly_lut_kdynamic","imgly_lut_keen","imgly_lut_lenin","imgly_lut_litho","imgly_lut_lomo","imgly_lut_lomo100","imgly_lut_lucid","imgly_lut_neat","imgly_lut_nogreen","imgly_lut_orchid","imgly_lut_pale","imgly_lut_pitched","imgly_lut_plate","imgly_lut_pola669","imgly_lut_polasx","imgly_lut_pro400","imgly_lut_quozi","imgly_lut_sepiahigh","imgly_lut_settled","imgly_lut_seventies","imgly_lut_soft","imgly_lut_steel","imgly_lut_summer","imgly_lut_sunset","imgly_lut_tender","imgly_lut_twilight","imgly_lut_winter","imgly_lut_x400","imgly_duotone_desert","imgly_duotone_peach","imgly_duotone_clash","imgly_duotone_plum","imgly_duotone_breezy","imgly_duotone_deepblue","imgly_duotone_frog","imgly_duotone_sunset","adjustments","basics","refinements","brightness","saturation","contrast","gamma","clarity","exposure","shadows","highlights","whites","blacks","temperature","sharpness","focus","none","radial","mirrored","linear","gaussian","font","size","spacing","line","background","defaultText","new","textdesign","input","invert","sticker","opacity","stickerLoadingError","replace","upload","fill","imgly_sticker_custom","imgly_sticker_emoticons","imgly_sticker_emoticons_alien","imgly_sticker_emoticons_angel","imgly_sticker_emoticons_angry","imgly_sticker_emoticons_anxious","imgly_sticker_emoticons_asleep","imgly_sticker_emoticons_attention","imgly_sticker_emoticons_baby_chicken","imgly_sticker_emoticons_batman","imgly_sticker_emoticons_beer","imgly_sticker_emoticons_black","imgly_sticker_emoticons_blue","imgly_sticker_emoticons_blush","imgly_sticker_emoticons_boxer","imgly_sticker_emoticons_business","imgly_sticker_emoticons_chicken","imgly_sticker_emoticons_cool","imgly_sticker_emoticons_cry","imgly_sticker_emoticons_deceased","imgly_sticker_emoticons_devil","imgly_sticker_emoticons_duckface","imgly_sticker_emoticons_furious","imgly_sticker_emoticons_grin","imgly_sticker_emoticons_guitar","imgly_sticker_emoticons_harry_potter","imgly_sticker_emoticons_hippie","imgly_sticker_emoticons_hitman","imgly_sticker_emoticons_humourous","imgly_sticker_emoticons_idea","imgly_sticker_emoticons_impatient","imgly_sticker_emoticons_kiss","imgly_sticker_emoticons_kisses","imgly_sticker_emoticons_laugh","imgly_sticker_emoticons_loud_cry","imgly_sticker_emoticons_loving","imgly_sticker_emoticons_masked","imgly_sticker_emoticons_music","imgly_sticker_emoticons_nerd","imgly_sticker_emoticons_ninja","imgly_sticker_emoticons_not_speaking_to_you","imgly_sticker_emoticons_pig","imgly_sticker_emoticons_pumpkin","imgly_sticker_emoticons_question","imgly_sticker_emoticons_rabbit","imgly_sticker_emoticons_sad","imgly_sticker_emoticons_sick","imgly_sticker_emoticons_skateboard","imgly_sticker_emoticons_skull","imgly_sticker_emoticons_sleepy","imgly_sticker_emoticons_smile","imgly_sticker_emoticons_smoking","imgly_sticker_emoticons_sobbing","imgly_sticker_emoticons_star","imgly_sticker_emoticons_steaming_furious","imgly_sticker_emoticons_sunbathing","imgly_sticker_emoticons_tired","imgly_sticker_emoticons_tongue_out_wink","imgly_sticker_emoticons_wave","imgly_sticker_emoticons_wide_grin","imgly_sticker_emoticons_wink","imgly_sticker_emoticons_wrestler","imgly_sticker_shapes","imgly_sticker_shapes_arrow_02","imgly_sticker_shapes_arrow_03","imgly_sticker_shapes_badge_01","imgly_sticker_shapes_badge_11","imgly_sticker_shapes_badge_12","imgly_sticker_shapes_badge_13","imgly_sticker_shapes_badge_15","imgly_sticker_shapes_badge_18","imgly_sticker_shapes_badge_19","imgly_sticker_shapes_badge_20","imgly_sticker_shapes_badge_28","imgly_sticker_shapes_badge_32","imgly_sticker_shapes_badge_35","imgly_sticker_shapes_badge_36","imgly_sticker_shapes_badge_04","imgly_sticker_shapes_badge_06","imgly_sticker_shapes_badge_08","imgly_sticker_shapes_spray_01","imgly_sticker_shapes_spray_03","imgly_sticker_shapes_spray_04","brush","hardness","settings","frame","imgly_frame_dia","imgly_frame_art_decor","imgly_frame_black_passepartout","imgly_frame_lowpoly_shadow","imgly_frame_wood_passepartout","artfilter","imgly_art_filter_june_tree","imgly_art_filter_hive","imgly_art_filter_udnie","imgly_art_filter_vince_low","imgly_art_filter_mosaic","imgly_art_filter_wave","imgly_art_filter_watercolor","overlay","blending","normal","hardLight","softLight","multiply","darken","lighten","screen","colorBurn","imgly_overlay_bokeh","imgly_overlay_chop","imgly_overlay_clouds","imgly_overlay_golden","imgly_overlay_grain","imgly_overlay_hearts","imgly_overlay_lightleak1","imgly_overlay_lightleak2","imgly_overlay_metal","imgly_overlay_mosaic","imgly_overlay_painting","imgly_overlay_paper","imgly_overlay_rain","imgly_overlay_vintage","imgly_overlay_wall1","imgly_overlay_wall2","imgly_overlay_wood","loadImage","_ref","src","proxy","Promise","resolve","reject","imageSrc","srcUri","Uri","srcHost","getHost","window","location","host","hostname","Type","isString","addParam","sessid","bitrix_sessid","url","image","newImage","Image","isDomNode","HTMLImageElement","complete","onload","onerror","getFileName","split","pop","changeFileExtension","fileName","extension","index","lastIndexOf","concat","substr","adjustTransformOptions","isPlainObject","categories","isArray","forEach","ratios","ratio","PhotoEditorSDK","Math","Vector2","_templateObject","data","babelHelpers","taggedTemplateLiteral","onPopupClose","Symbol","onWindowResize","onEditorExport","onEditorClose","currentImage","resolver","ImageEditor","createClass","key","value","getInstance","instance","options","arguments","length","undefined","classCallCheck","SDKInstance","bind","cache","Cache","MemoryCache","popup","getPopup","loader","getLoader","Event","_this","remember","PopupWindow","id","Text","getRandom","innerWidth","innerHeight","zIndex","noAllPaddings","className","animationOptions","show","eventType","events","_this2","Loader","target","getPopupContainer","Dom","style","document","documentElement","clean","contentContainer","result","getOptions","BASE64","Main","renderType","_result$split","_result$split2","slicedToArray","meta","base64","_meta$match","match","_meta$match2","fileExtension","off","dispose","onCustomEvent","_window","setWidth","setHeight","createErrorMessage","_this3","onButtonClick","Tag","render","isValidEditOptions","apply","edit","_this4","Error","config","container","Runtime","merge","objectSpread","then","loadExtension","DesktopUI","UI","showHeader","responsive","preloader","versionCheck","logLevel","language","maxMegaPixels","desktop","displayCloseButton","extensions","languages","ru","JSON","stringify","on","hide","defineProperty","CUSTOM","SQUARE","4/3","16/9","PROFILE","FB_AD","FB_POST","FB_COVER","IMAGE","BUFFER","BLOB","MSBLOB"],"mappings":"AAAAA,KAAKC,GAAKD,KAAKC,QACd,SAAUC,EAA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